#
# Copyright 2008 (c) Giancarlo Bellido. All Rights Reserved
#

module Ph
  
  class Cache
    
    # cache pages and output them for static server to take care
    def generate(application)
      application.page.each { |key, page| page.new(application).save }
    end
    
  end
end